Skip to main content
GET
/
ridership
/
passengers
/
{id}
[beta] Get a ridership passenger.
curl --request GET \
  --url https://api.samsara.com/ridership/passengers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "accountId": "e4b2c3a5-7d6f-4e8b-9a0c-1b2d3e4f5a6b",
    "createdAtTime": "2024-11-15T10:00:00Z",
    "firstName": "John",
    "id": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
    "isActive": true,
    "lastName": "Doe",
    "updatedAtTime": "2024-11-15T10:30:00Z",
    "classification": "grade5",
    "externalIds": {},
    "identifiers": [
      {
        "id": "b2c3d4e5-6f7a-8b9c-0d1e-2f3a4b5c6d7e",
        "status": "active",
        "type": "rfid",
        "value": "0418A2BC93"
      }
    ],
    "specialInstructions": {
      "isGuardianRequired": false,
      "isSpecialEducation": true
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the ridership passenger. This can either be the Samsara-specified UUID, or an external ID. External IDs are customer-specified key-value pairs. To specify an external ID, use the following format: key:value. For example, student:STU-001.

Query Parameters

includeExternalIds
boolean

Optional boolean indicating whether to return external IDs on supported entities

Response

OK response.

data
object
required

A ridership passenger entity.